package com.manage.competition.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * Create with IDEA
 *
 * @Author:Vantcy
 * @Date: Create in 14:52 2019/1/23
 * @Description:
 */

@Entity
@Table(name = "manage_permission")
@Data
public class Permission {

    @Id
    private Long id;

    @Column
    private Long roleId;

    @Column
    private String perm;

    @Column
    private Integer status;

    @Column
    private String createUser;

    @Column
    private String updateUser;

    @Column
    private Date createDate;

    @Column
    private Date updateDate;
}